/**
*@author :hly
*@github :https://github.com/huangliangyun
@blog :blog.csdn.net/Sirius_hly
*@date :2018/8/1
*/

* {
    margin: 0;
    padding: 0;
}

body::-webkit-scrollbar {
    display: none;
}

body {
    /*background-color: rgba(252, 255, 232, 0.7);*/
   /* background-color: rgb(37, 43, 68);*/
    background: linear-gradient(#212741, rgb(37, 43, 68)); /* 标准的语法（必须放在最后） */
}

a {
    text-decoration: none;
    color: #0f0f0f;
    transition: all 1s ease;
}

a:hover {
    text-decoration: none;
}

a:focus {
    text-decoration: none;
}

ul, ol {
    text-decoration: none;
    list-style-type: none;
}

header {
    width: 100%;
    /*border: 1px solid red;*/
    /*设置最小宽度和main最小宽度相同，缩小后布局完整*/
    min-width: 1200px;
    position: relative;
}

header nav {
    font-weight: bold;
    margin: 0 auto;
    width: 100%;
    /*border: 1px solid red;*/
    padding-top: 15px;
    text-align: center;
    background-color: rgba(244, 244, 244, 0.0);
    height: 60px;
    position: absolute;
    left: 0;
    top: 0;
    /*z-index：正数，离用户更近*/
    z-index: 1;
}

header nav ul li a {
    color: #f4f4f4;
    padding: 0 15px;
    margin: 10px;
    display: block;
    float: right;
    line-height: 15px;
}

header nav ul li:first-child a {
    font-size: 18px;
    float: left;
}

header nav ul li a:hover, #current_nav {
    color: #892809;
    /*background-color: rgba(20, 20, 20, 0.8);
    box-shadow: inset 0px 1px 1px rgba(0, 0, 0, 0.7);*/
    border-radius: 6px;
}

/*图片*/
header .article_image {

    clear: both;
    width: 100%;
    margin: 0 auto 10px;
    /*border: 1px solid red;*/
}

header .article_image figure {

    display: block;
    /*border: 1px solid green;*/
    position: relative;
}

header .article_image figure figcaption {
    color: white;
    font-size: 75px;
    font-weight: bolder;
    /*opacity：0.0-1.0透明到完全不透明*/
    opacity: 1;
    padding: 20px;
    /*绝对布局居中：https://www.cnblogs.com/yanglulin/p/5313670.html*/
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);

}

header .article_image figure figcaption p {
    font-weight: normal;
    font-size: 18px;
    text-align: center;
}

/*.article_image figure:hover figcaption {
    opacity: 1;
}*/

header .article_image figure {
    background: url("../../images/thyme_images/img_99.jpg");
    background-size: 100%;
    width: 100%;
    /*这里最小宽度和#main最小宽度相同，响应式效果*/
    min-width: 1200px;
    height: 420px;
}

/*导航部分结束*/
/*内容开始*/
/*外层高度设为自动，随内层高度增加，加上overflow，可以显示页脚？*/
#main {
    width: 100%;
    height: auto;
    overflow: hidden;
    /*这里最小宽度和图片最小宽度相同，响应式效果*/
    min-width: 1200px;
    /*border: 1px solid red;*/
}



.articles {

    width: 1200px;
    margin: 0 auto 0;
    /*border: 1px solid black;*/
}

/*文章列表开始*/

.article_lists {
    /*border: 1px solid blue;*/
    width: 866px;
    float: left;
    min-height: 1550px;
}

/*!*当屏幕高于780时*!
@media only screen and (min-height: 700px) {
    .article_lists {
       height: 1900px;
    }
}*/



.article_lists > li {
    /*列表上下空隙*/
    margin-top: -15px;
    border-right: 2px solid black;
    /*列表之间的距离*/
    /* padding: 0 0;*/

}

.article_list {
    background-color: rgba(16, 23, 51, 0.7);
    color: white;
    /*div宽度比ul小点*/
    width: 830px;
    border-radius: 6px;
    position: relative;
}

.article_list .article_title {
    padding-left: 20px;
    font: 16px/50px "微软雅黑";
    transition: all 0.1s linear;

}

.article_list .article_title a {
    color: #f4f4f4;
}

.article_list h2 a:hover {
    padding-left: 20px;
    color: #fa1431;
}

.article_list p {
    text-overflow: ellipsis;
}

.article_Info {
    height: 130px;
}

.article_Info > p > a {
    color: white;
}

.article_Info img {
    height: 110px;
    width: 150px;
    padding: 4px;
    float: left;
    margin: 0px 20px 10px;
    transition: all 0.2s ease;

}

.article_Info img:hover {
    transform: scale(1.1);
}

.article_Info p {
    color: white;
    font-style: italic;
    line-height: 24px;
    padding: 0px 20px 20px;
    text-indent: 2em;
}

.article_Info p a:hover {
    color: #1babff;
}

.article_detail {
    background-color: rgb(16, 23, 51);
    border-radius: 0px 0px 6px 6px;
    padding: 0px 10px;
}

.article_detail li {
    line-height: 26px;
    display: inline;
    font-size: 9px;
    margin-right: 10px;
    color: white;
}

.article_detail li a {
    color: white;
}

/*
.article_detail li a:hover {
    color: rgba(240, 246, 243, 0.7);
    font-size: 14px;
    margin-left: 5px;
}
*/

.article_like, .article-view {
    float: right;
    padding-left: 14px;
}

.article_create_time {
    padding-left: 14px;
}

/*文章列表结束*/

/*右边栏部分开始*/
aside {
    right: 160px;
    /*right: 160px;
     top: 380px;
     position:fixed;*/
    font-size: 14px;
    width: 310px;
    float: right;
    margin: 0 0 20px;
    overflow: hidden;
    /*border: 1px solid red;*/

}

aside h2 {
    font-size: 16px;
    margin-bottom: 10px;
    text-shadow: 1px 1px 1px black;
    color: white;
    margin-top: 5px;
    font-weight: 500;
}

aside div {
    border-radius: 6px;
    padding: 15px;
    /*margin-bottom: 5px;*/
    overflow: auto;
}

/*右边栏部分结束*/

/*网站信息开始*/
.web-info {
    background-color: #101733;
    overflow: auto;
}

/*用户信息*/
.user-info {
    /*border: 1px solid blue;*/
    text-align: center;

}

.user-info li {
    margin-top: 8px;

}
/*用户头像*/
.user-profile img {

    border-radius: 50%;
    width: 50px;
    height: 50px;
}

.user-nickname {
    color: white;
    font-weight: 600;
    font-size: 16px;
    letter-spacing: 2px;
}

.user-wisdom {
    font-size: 14px;
    color: #e1143e;
}

/*联系作者*/
.contact-user ul li a > img {
    border-radius: 7px;
    width: 40px;
    height: 40px;
}

.contact-user {
    width: 100%;
    display: inline-block;
   /* border: 1px solid red;*/
}

/*微信图标*/
#weChatBtn{
    cursor: pointer;

}

.hide{
    display: none;

}
.contact-user li {
    width: 25%;
    float: left;

}

.blog-info {
    margin: 20px auto 30px;
    /*border: 1px solid red;*/
}

.blog-info li {
    color: white;
    text-align: center;
    /* border: 1px solid green;*/
    display: block;
    width: 50%;
    float: left;
}

/*网站信息结束*/
/*文章分类和归档开始*/

.article-classify {
    background-color: rgba(255, 70, 17, 0.7);
    max-height: 400px;
    overflow: auto;
    /*border: 1px solid red;*/
}

.article-classify::-webkit-scrollbar {
    display: none;
}



.article-classify ul {
    width: 100%;
    /*border: 1px solid red;*/

}

.article-classify ul li {
    margin-top: 3px;
    width: 100%;
    /*行内块，元素单独显示一行，块状*/
    display: inline-block;
    /* border: 1px solid black;*/
}

.article-classify ul > li a {
    /*a宽度为100%，span写在a里边，给一整行添加点击事件*/
    width: 100%;
    float: left;
}

.article-classify ul > li a:hover {
    color: #1babff;
}

.article-classify ul > li a span {
    float: right;
}

/*文章归档背景*/
.article-archived {
    background-color: #ffac01;

}

/*热门文章开始*/
.hot_article {
    background-color: rgba(22, 176, 255, 0.7);
    box-shadow: 0px 1px 0px rgba(6, 108, 55, 0.7);
}

.hot_article li {
    /*文本不进行换行*/
    white-space: nowrap;
    /*显示省略符号来代表被修剪的文本*/
    text-overflow: ellipsis;

}

.hot_article li span {
    margin-right: 10px;
    font-size: 14px;
    font-family: "微软雅黑";
}

/*第三个开始倒数*/
.hot_article li:nth-child(-n+3) span {
    width: 39px;
    color: #cdffec;
    font-size: 24px;
    line-height: 32px;
}

.hot_article li:first-child span {
    color: rgba(255, 27, 98, 0.7);
    font-size: 26px;
}

.hot_article a:hover {
    padding-left: 10px;
    color: white;
}

/*第三个开始正数*/
.hot_article li:nth-child(n+3) {
    line-height: 24px;
    color: white;
}

/*热门文章结束*/

/*文章分类和归档结束*/

/*分页查询*/

.page {
    text-align: center;
    margin: 40px auto 0px;
    font-size: 12px;

}

.page ul.pagination {
    /*https://www.cnblogs.com/hy-sunny/p/5602236.html*/
    /*行内块元素*/
    display: inline-block;
    padding: 0;
    margin: 0;
}

.disabled {
    pointer-events: none;
    cursor: default;
    opacity: 0.6;
}

.page ul.pagination li {
    /*与其他元素在同一行上*/
    display: inline-block;
    margin: 5px 5px;

}

.page ul.pagination li a {
    color: black;
    float: left;
    padding: 10px 16px;
    transition: background-color .3s;
    text-decoration: none;
    border-radius: 50%;
}

.page ul.pagination li a.active {
    color: white;
    background-color: black;
}

.page ul.pagination li a:hover:not(.active) {
    background-color: #fe6c0b;
    color: #dddddd;
}

/*页脚开始*/
.foot {
    min-width: 1200px;
    margin-top: 20px;
    width: 100%;
    height: 110px;
    background-color: #1c1f21;
    font-size: 12px;
}

.foot ul {
    margin-left: 140px;
}

.foot ul li {
    margin-top: 30px;
    margin-left: 35px;
    display: inline-block;
}

.foot ul li a {
    float: left;
    text-decoration: none;
    color: white;
}

#ower{
    margin-left: 175px;
    color: #dddddd;
}

/*页脚结束*/










